

target_include_directories(${PROJECT_NAME}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/bmp280_package
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/bmp280_package/lib)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} bmp280_src)
target_sources(${PROJECT_NAME}
    PRIVATE ${bmp280_src})

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/bmp280_package/lib bmp280_api_src)
target_sources(${PROJECT_NAME}
    PRIVATE ${bmp280_api_src})
